package com.yun.zf.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yun.zf.common.app.domain.ZfSearch;
import com.yun.zf.common.admin.model.house.SearchMo;
import org.springframework.cache.annotation.Cacheable;

/**
 * <p>
 * 城市区域表 服务类
 * </p>
 *
 * @author cj
 * @since 2021-01-29
 */
public interface ZfSearchService extends IService<ZfSearch> {

    /**
     * 筛选条件查询
     * @param type
     * @param cityCode
     * @return
     */
    @Cacheable(value = "getSearchMo" ,key = "#type+ '_' +#cityCode+ '_' +#areaOrSubway")
    public SearchMo getSearchMo(String type  ,Long cityCode, String areaOrSubway);


}
